import Home from "../views/Home"
import {lazy} from "react"
const routers=[{
    path:'/home',
    component: Home,
    title:"首页"
},
{
    path:'/classify',
    component :lazy(()=>import('../views/Classify')),
    title:"分类"
},
{
    path:'/jingxi',
    component :lazy(()=>import('../views/Jingxi')),
    title:"惊喜"
},
{
    path:'/shopCar',
    component:lazy(()=>import('../views/shopCar')),
    title:'购物车'
},
{
    path:'/My',
    component :lazy(()=>import('../views/My')),
    title:"我的"
},

]
export default routers